package com.usian.behavior.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.article.dtos.ArticleInfoDto;
import com.usian.model.behavior.dtos.FollowBehaviorDto;
import com.usian.model.behavior.dtos.LikesBehaviorDto;
import com.usian.model.behavior.pojos.ApFollowBehavior;
import com.usian.model.behavior.pojos.ApLikesBehavior;
import com.usian.model.common.dtos.ResponseResult;

/**
 * ClassName: ApBehaviorEntryMapper
 * Author:   WGG
 * Date:    2022-12-2022/12/1-10:09
 * Version: 1.0
 * Description:
 */
public interface ApLikesBehaviorService extends IService<ApLikesBehavior> {

    /**
     * 添加点赞行为
     * @param dto
     * @return
     */
    ResponseResult likesBehavior(LikesBehaviorDto dto);

    /**
     * 点赞行为查询
     * @param dto
     * @return
     */
    ApLikesBehavior showLikesBehavior(ArticleInfoDto dto);
}
